package com.yuandian.api.management.vo;

import com.yuandian.api.business_monitor.vo.SegmentDetail;
import com.yuandian.api.management.entity.ConfSegment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class EndToEndNodeVo extends SegmentDetail {

	/**
	 * 服务资源编码
	 */
	@ApiModelProperty(value = "节点id", notes = "节点id")
	private String id;

	/**
	 * 服务资源编码
	 */
	@ApiModelProperty(value = "服务资源编码", notes = "服务资源编码")
	private String resourceCode;

	/**
	 * 服务资源编码
	 */
	@ApiModelProperty(value = "是否显示", notes = "是否显示")
	private boolean isShow;

	/**
	 * 网端id
	 */
	@ApiModelProperty(value = "网端id", notes = "网端id")
	private Integer segmentId;

	/**
	 * 网端名称
	 */
	@ApiModelProperty(value = "网端名称", notes = "网端名称")
	private String segmentName;

	/**
	 * 坐标x
	 */
	@ApiModelProperty(value = "坐标x", notes = "坐标x")
	private Double locationX;

	/**
	 * 坐标y
	 */
	@ApiModelProperty(value = "坐标y", notes = "坐标y")
	private Double locationY;

	/**
	 * 子节点
	 */
	@ApiModelProperty(value = "子节点", notes = "子节点")
	private List<EndToEndNodeVo> childNodes = new ArrayList<>();

	/**
	 * 网端名称
	 */
	@ApiModelProperty(value = "网端信息", notes = "网端信息")
	private ConfSegment segmentInfo;

	/**
	 * 节点id
	 */
	@ApiModelProperty(value = "节点id", notes = "节点id")
	private String nodeId;

	/**
	 * 节点id
	 */
	@ApiModelProperty(value = "业务服务资源匹配串", notes = "业务服务资源匹配串")
	private String identifyStr;

}
